package com.coolgor.axnut.service.auth;

import java.util.List;

import com.coolgor.axnut.dto.auth.LocalUserExecution;
import com.coolgor.axnut.entity.auth.LocalUser;
import com.coolgor.axnut.exceptions.auth.LocalUserOperationException;

public interface LocalUserService {

	LocalUser getLocalUser(long userID);
	
	LocalUser getLocalUser(String username);
	
	LocalUserExecution getLocalUserList(LocalUser localUserCondition, int pageIndex, int pageSize);
	
	LocalUserExecution addLocalUser(LocalUser localUser) throws LocalUserOperationException;
	
	LocalUserExecution modifyLocalUser(LocalUser localUser) throws LocalUserOperationException;
	
	LocalUserExecution removeLocalUser(LocalUser localUser) throws LocalUserOperationException;
	
	LocalUserExecution batchRemoveLocalUser(List<LocalUser> localUserList) throws LocalUserOperationException;
}